package com.demo.gulimall.product.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.demo.gulimall.product.entity.Attr;
import com.demo.gulimall.product.mapper.AttrMapper;
import com.demo.gulimall.product.service.AttrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * 商品属性
 *
 * @author Chen Yuan
 */

@Service
public class AttrServiceImpl extends ServiceImpl<AttrMapper, Attr> implements AttrService {

    @Autowired
    private AttrMapper attrMapper;

    @Override
    public List<Long> selectSearchableAttrIdsByIds(List<Long> attrIdList) {
        return attrMapper.selectSearchableAttrIdsByIds(attrIdList);
    }
}
